#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Core;
using Cephei.Core.Generic;
using Microsoft.FSharp.Core;
namespace Cephei.QL.Math.Integrals
{
    /// <summary> 
	/// ! Given a number \f$ N \f$ of intervals, the integral of a function \f$ f \f$ between \f$ a \f$ and \f$ b \f$ is calculated by means of the trapezoid formula \f[ \int_{a}^{b} f \mathrm{d}x = \frac{1}{2} f(x_{0}) + f(x_{1}) + f(x_{2}) + \dots + f(x_{N-1}) + \frac{1}{2} f(x_{N}) \f] where \f$ x_0 = a \f$, \f$ x_N = b \f$, and \f$ x_i = a+i \Delta x \f$ with \f$ \Delta x = (b-a)/N \f$.  \test the correctness of the result is tested by checking it against known good values.
	/// </summary>
    [Guid ("395CF50C-1D84-48eb-B0C9-74F3C4D98E93"),ComVisible(true)]
	public interface ISegmentIntegral : Cephei.QL.Math.Integrals.IIntegrator
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
    }   

    /// <summary> 
	/// ! Given a number \f$ N \f$ of intervals, the integral of a function \f$ f \f$ between \f$ a \f$ and \f$ b \f$ is calculated by means of the trapezoid formula \f[ \int_{a}^{b} f \mathrm{d}x = \frac{1}{2} f(x_{0}) + f(x_{1}) + f(x_{2}) + \dots + f(x_{N-1}) + \frac{1}{2} f(x_{N}) \f] where \f$ x_0 = a \f$, \f$ x_N = b \f$, and \f$ x_i = a+i \Delta x \f$ with \f$ \Delta x = (b-a)/N \f$.  \test the correctness of the result is tested by checking it against known good values. Factory
	/// </summary>
   	[ComVisible(true)]
    public interface ISegmentIntegral_Factory 
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        /// <summary> 
		/// 
		/// </summary>
	    ISegmentIntegral Create (UInt64 intervals);
    }
}

